import {Component} from "react";

class ChangeIndexs extends Component{

    shouldComponentUpdate(nextProps, nextState, nextContext) {
        return true
    }


    render() {
        let {obj} = this.props
        console.log(obj)
        return(
            <div>
                <h1>发布信息</h1>
                <h2>新增数据：{obj.num}</h2>
                <h2>年龄：{obj.age}</h2>
            </div>
        )
    }
}

export default ChangeIndexs;